var settings = {
		messages : 'messages'
};

function init(e) {
	var messages = $(settings.messages);
	if (messages && messages.visible()) {
		new Effect.Highlight(messages);
	}
}

Event.observe(window, 'load', init);